import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [{
  path: '/',
  component: () => import('@/App.vue')
}]

const router = createRouter({
  base: window.__POWERED_BY_QIANKUN__ ? '/slave3/' : '/',
  history: createWebHashHistory(),
  routes
})

export default router
